<template>
  <div class='wrapper'>
    <banner></banner>
    <top-header></top-header>
    <div class="c">
      <contents></contents>
      <door-model></door-model>
      <graphic></graphic>
      <city-selection></city-selection>
      <dynamic></dynamic>
      <buildings></buildings>
      <review></review>
      <consulting></consulting>
      <building-recommended :Blist="Alist"></building-recommended>
      <building-recommended :Blist="Blist"></building-recommended>
      <seen></seen>
      <Disclai-mer></Disclai-mer>
      <go-top></go-top>
    </div>
  </div>
</template>

<script>
  /*
  * 引入局部组件
  *   banner          轮播图
  *   TopHeader       顶部 按钮
  *   Contents        头部主体信息
  *   DoorModel       户型
  *   Graphic         图文看房
  *   CitySelection   城市精选
  *   Buildings       百度地图
  *   Review          评论页面
  *   Consulting      置业咨询页面
  *   Dynamic         楼盘动态组件
  *   BuildingRecommended 楼盘推荐组件
  *   Seen            看过的还看过什么楼盘
  *   disclaimer      免责声明
  * */
  import Banner from './components/Banner'
  import TopHeader from './components/TopHeader'
  import Contents from './components/Contents'
  import DoorModel from './components/DoorModel'
  import Graphic from './components/Graphic'
  import CitySelection from './components/CitySelection'
  import Buildings from './components/Buildings'
  import Review from './components/Review'
  import Consulting from './components/Consulting'
  import Dynamic from 'common/dynamic/Dynamic'
  import BuildingRecommended from 'common/buildingrecommended/BuildingRecommended'
  import Seen from 'common/seen/Seen'
  import DisclaiMer from 'common/disclaimer/DisclaiMer'
  import goTop from '../../common/gotop/goTop'

  export default {
    // 名称
    name: 'StrictDetails',
    // 接收JSON数据
    props: {
      list: Array
    },
    // 数据
    data () {
      return {
        Blist: [{
          id: '001',
          text: '好物业榜'
        }, {
          id: '002',
          text: '壕无人性榜'
        }, {
          id: '003',
          text: '成交量榜'
        }, {
          id: '004',
          text: '热搜榜'
        }, {
          id: '005',
          text: '评论榜'
        }, {
          id: '006',
          text: '热卖榜'
        }, {
          id: '007',
          text: '关注榜'
        }, {
          id: '008',
          text: '推荐榜'
        }],
        Alist: [{
          id: '001',
          text: '同价位楼盘'
        }, {
          id: '002',
          text: '同区域楼盘'
        }]
      }
    },
    // 局部组件注册
    components: {
      Banner,
      TopHeader,
      Contents,
      DoorModel,
      Graphic,
      CitySelection,
      Buildings,
      Review,
      Consulting,
      Dynamic,
      BuildingRecommended,
      Seen,
      DisclaiMer,
      goTop
    },
  }
</script>

<style scoped lang="stylus">

</style>
